24,441 questions with .NET-related tags

Sort by: Updated
3 answers One of the answers was accepted by the question author.

REST interface, server for GET,PUT,POST,DELETE

Hello, My goal is to control a Rest Server from a WPF C# desktop app. Get, Push, Pop, Delete should be tested. The server does not require extensive logic, only test data. Later, the customer REST server is connected. How can I achieve this? How should I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,272 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,449 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
311 questions
asked 2024-05-23T17:15:44.0466667+00:00
Noah Aas 300 Reputation points
accepted 2024-06-06T16:18:48.6133333+00:00
Noah Aas 300 Reputation points
2 answers

I am getting a "Requests from this IP are not allowed" when trying to signin/signup to Entra ID for external providers

I am trying to follow the tutorial in the link https://learn.microsoft.com/en-us/entra/external-id/customers/tutorial-mobile-app-maui-sign-in-sign-out ... I have created the UserFlows ., but when running the app , I get a "Requests from this IP are…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,029 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,004 questions
asked 2024-05-27T02:42:10.6966667+00:00
Srinath Nanduri 0 Reputation points
edited an answer 2024-06-06T15:58:40.0866667+00:00
Jason Keimig 0 Reputation points
1 answer

Object reference not set to an instance of an object. [mono-rt] at FFImageLoading.Maui.CachedImage.SetupOnBeforeImageLoading

I am getting below exception when loading my MAUI application. System.NullReferenceException: 'Object reference not set to an instance of an object.' [mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,029 questions
asked 2024-06-05T08:13:02.5633333+00:00
Sreejith Sreenivasan 751 Reputation points
answered 2024-06-06T15:42:47.9266667+00:00
Sreejith Sreenivasan 751 Reputation points
0 answers

Sporadic System.Net.Http.HttpRequestException: Error while copying content to a stream.

Hi, I receive this sporadic error in subject while calling HttpClient.PostAsync(url, content). I want to make sure that this is not related to my code. public async Task<HttpResponseMessage> UploadPhotoAsync(string productId, MediaGallery…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,272 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,135 questions
asked 2021-04-06T18:37:29.78+00:00
Holysmokes-6260 41 Reputation points
commented 2024-06-06T15:40:33.1166667+00:00
Vivek Chauhan 0 Reputation points
0 answers

how to fix "Designer load encountered and error. Please ensure that the project can be built successfully."

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,861 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,449 questions
asked 2024-04-12T17:01:22.2533333+00:00
Santos, Mark Jairo (Student) 10 Reputation points
commented 2024-06-06T15:23:35.8466667+00:00
mikefinch87@gmail.com 60 Reputation points
0 answers

How to use SystemWebAdapter SessionClient to share only registered keys and ignore the others

I am learning how to migrate a large .net framework application to .net core and am happy with the tooling provided by SystemWebAdapters and RemoteAppClient. The framework application uses session state extensively and it looks like the default behaviour…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,502 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,272 questions
asked 2024-05-15T08:37:39.3666667+00:00
Rob de Bruin 5 Reputation points
commented 2024-06-06T14:49:16.5+00:00
Kyle Fuller 5 Reputation points
0 answers

WPF app not starting silently

Hi Folks, I have this strange problem: I created a new WPF project, when I press the Run button the app seems to start for bit, by briefly flashing a white screen and then immediately exists. There are no errors flagged other than a return code of 0, I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,502 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,691 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,272 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,742 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
958 questions
asked 2024-06-05T08:40:27.6333333+00:00
stephen Makumbi 5 Reputation points
edited a comment 2024-06-06T14:35:11.9833333+00:00
stephen Makumbi 5 Reputation points
3 answers One of the answers was accepted by the question author.

How to open pdf file in modal popup in ASP.NET C#

I am developing ASP.NET application. i used gridview to insert, update and delete the data. Also, i am uploading documents in file server path. now, i am uploading all the documents as pdf and in past days i have uploaded document as image. Now and…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,449 questions
asked 2024-06-04T18:32:27.64+00:00
Gani_tpt 1,986 Reputation points
answered 2024-06-06T14:00:11.34+00:00
AgaveJoe 26,581 Reputation points
2 answers

Stored Procedure not updating in edmx

Adding or updating a stored procedure in the EDMX file is currently not functioning as expected in the latest version of Visual Studio.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,272 questions
asked 2024-06-06T10:57:27.7366667+00:00
Mohit Sharma 0 Reputation points
edited an answer 2024-06-06T13:33:08.5566667+00:00
AgaveJoe 26,581 Reputation points
10 answers

A connection was successfully established with the server, but then an error occurred during the login process Error from .Net core WebAPI

Hi, I've an application that uses WebAPI in .Net core 6 and uses Kestrel server. When calling HttpPost request, the code tries to inject data in DB but fails with error: The certificate chain was issued by an authority that is not trusted. Inner…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,272 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,005 questions
asked 2021-12-14T12:23:52.077+00:00
Amit Potdar 146 Reputation points
commented 2024-06-06T12:56:55.7166667+00:00
Jason Kleinhans 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to replace OperationContext in new V12 SDK Azure.Storage.Blobs

I'm switching from Microsoft.WindowsAzure.Storage to Azure.Storage.Blobs. In the former versions I could log retries, this seems to be missing in the new SDK. I used OperationContext for this: var context = new OperationContext(); …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,861 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,802 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,528 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,449 questions
asked 2024-06-04T11:18:12.8033333+00:00
Becker, W 66 Reputation points
accepted 2024-06-06T11:02:12.6966667+00:00
Becker, W 66 Reputation points
5 answers

When Microsoft will release Entity Framework 6.x (.NET Full framework) having Microsoft.Data.SQLClient support?

We are migrating our .NET Full framework 4.8 based Data Access Layer projects from System.Data.SQLClient to Micosoft.Data.SQLClient. While it is very straightforward for AD0.NET based projects, we do have some projects where we are also using EF 6.0. As…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,502 questions
asked 2023-06-05T07:36:18.9+00:00
Buch, Dishant 5 Reputation points
commented 2024-06-06T10:02:54.3033333+00:00
Buch, Dishant 5 Reputation points
1 answer

ArgumentNull Exception in .NET Framework 4.8 "System.Security.SecurityElement.FromString(String xml)"

I get an "ArgumentNullException" from the .NET Framework 4.8, when the calling code makes a Code-Access Policy "Demand" request (attribute usage see below) The program is a WinForms application. The stack-trace is: at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,502 questions
asked 2024-05-22T12:50:11.1666667+00:00
Liedtke, H 0 Reputation points
commented 2024-06-06T09:42:34.8133333+00:00
Jiale Xue - MSFT 40,866 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Service Monitor

Hi, I want a worker service with config file of time when to restart a given service. In the config file will be the time. the service will run always and when time reach check if service is running to restart it. Thanks in advance,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,502 questions
asked 2024-05-05T16:07:58.2833333+00:00
Dani_S 3,026 Reputation points
edited a comment 2024-06-06T09:37:14.3333333+00:00
Dani_S 3,026 Reputation points
2 answers

Breaking Change

Created a brand new Blazor Web Assembly Stand Alone project with Visual Studio 2022, .net 8. Updated the "Microsoft.AspNetCore.Components.WebAssembly" commponents from Version="8.0.3" to Version="8.0.6" The app does not…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,445 questions
asked 2024-06-05T17:41:02.88+00:00
William Behning 0 Reputation points
commented 2024-06-06T08:38:39.06+00:00
Ping Ni-MSFT 2,640 Reputation points Microsoft Vendor
0 answers

How to log or audit for any weak cyphers, encryption, or hashes in use?

How can I activate or run an audit on my Windows Server 2016, 2019, and 2022 Application, Web, and Database servers to verify if any weak cyphers, encryption, or hashes are in use? I'm about to apply the following enforcement using the Group Policy…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,502 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,272 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,377 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,758 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,205 questions
asked 2024-06-06T08:05:15.2366667+00:00
EnterpriseArchitect 4,916 Reputation points
edited the question 2024-06-06T08:05:59.47+00:00
EnterpriseArchitect 4,916 Reputation points
1 answer

How to handle internet connection in MAUI WebView

I have created MAUI app with webview. In webview I am call website url. If the interconnection is lost I want to show message internet connection is lost. MainPage.xaml <ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,029 questions
asked 2024-01-04T10:01:22.7866667+00:00
kamlakar khanapure 0 Reputation points
edited a comment 2024-06-06T07:55:12.2866667+00:00
Josy 0 Reputation points
1 answer

Can These iOS and Java Libraries Have Bindings to a Xamarin.Forms App?

Hi Xamarin Experts, Coming from a purely Windows/.NET background, I'm struggling to work out if the following two iOS and Java/Android libraries can have bindings to a Xamarin.Forms app: mcumgr-ios Android-nRF-Connect-Device-Manager I…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,310 questions
asked 2021-09-24T03:28:03.237+00:00
Phil Wherrett 11 Reputation points
answered 2024-06-06T07:48:59.07+00:00
Emanuele Di Emanuele 0 Reputation points
1 answer

Why does our Azure Function App with an Elastic Premium Plan take 8x longer to run a CPU-intensive .exe than our local machine or Azure App Service web job?

We've created Azure Function using .NET 6.0 Isolated. That function internally executes a .exe process to generate data regarding the application. The .exe file is CPU-intensive and 48MB in size. This .exe takes roughly 1 to 2 minutes to run on both my…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,460 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,272 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,111 questions
asked 2024-06-06T07:10:23.5566667+00:00
Jay Chotaliya 0 Reputation points
answered 2024-06-06T07:28:56.2533333+00:00
innovation gadget 80 Reputation points
2 answers

What does this setting do in IIS - Ssl Settings - Require SSL ?

I would like to understand the effect of this setting in IIS  What happens when this check box named "Require SSL" is checked? Does this enable https: protocol on a http site? such that the website can be browsed with https: in the URL? Does…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,355 questions
asked 2024-06-05T13:24:46.4533333+00:00
THIRUNARAYANAN SOWRIRAJAN 0 Reputation points
edited an answer 2024-06-06T06:47:29.27+00:00
Sam Wu-MSFT 7,126 Reputation points Microsoft Vendor